<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="keywords" content="admin, dashboard, bootstrap, template, flat, modern, theme, responsive, fluid, retina, backend, html5, css, css3">
    <meta name="description" content="">
    <meta name="author" content="ThemeBucket">
    <link rel="shortcut icon" href="#" type="image/png">

    <title>@yield('title')</title>

    <!--icheck-->
    <link href="{{asset('admin/assets/js/iCheck/skins/minimal/minimal.css')}}" rel="stylesheet">
    <link href="{{asset('admin/assets/js/iCheck/skins/square/square.css')}}" rel="stylesheet">
    <link href="{{asset('admin/assets/js/iCheck/skins/square/red.css')}}" rel="stylesheet">
    <link href="{{asset('admin/assets/js/iCheck/skins/square/blue.css')}}" rel="stylesheet">

    <!--dashboard calendar-->
    <link href="{{asset('admin/assets/css/clndr.css')}}" rel="stylesheet">

    <!--Morris Chart CSS -->
    <link rel="stylesheet" href="{{asset('admin/assets/js/morris-chart/morris.css')}}">

    <!--common-->
    <link href="{{asset('admin/assets/css/style.css')}}" rel="stylesheet">
    <link href="{{asset('admin/assets/css/style-responsive.css')}}" rel="stylesheet">
    @yield('css')

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="{{asset('admin/assets/js/html5shiv.js')}}"></script>
    <script src="{{asset('admin/assets/js/respond.min.js')}}"></script>
    <![endif]-->
</head>

<body class="sticky-header">

<section>
    <!-- left side start-->
    <div class="left-side sticky-left-side">

        <!--logo and iconic logo start-->
        <div class="logo">
            <a href="{{ url('back/index') }}"><img src="{{asset('admin/assets/images/logo.png')}}" alt=""></a>
        </div>
        <div class="logo-icon text-center">
            <a href="{{ url('back/index') }}"><img src="{{asset('admin/assets/images/logo_icon.png')}}" alt=""></a>
        </div>
        <!--logo and iconic logo end-->

        <div class="left-side-inner">
            <!-- visible to small devices only -->
            <div class="visible-xs hidden-sm hidden-md hidden-lg">
                <div class="media logged-user">
                    <img alt="" src="{{asset('admin/assets/images/photos/user-avatar.png')}}" class="media-object">
                    <div class="media-body">
                        <h4><a href="#">John Doe</a></h4>
                        <span>"Hello There..."</span>
                    </div>
                </div>
                <h5 class="left-nav-title">Account Information</h5>
                <ul class="nav nav-pills nav-stacked custom-nav">
                    <li><a href="#"><i class="fa fa-user"></i> <span>用户信息</span></a></li>
                    <li><a href="#"><i class="fa fa-cog"></i> <span>设置</span></a></li>
                    <li><a href="{{ url('back/logout') }}"><i class="fa fa-sign-out"></i> <span>注销</span></a></li>
                </ul>
            </div>

            <!--sidebar nav start-->
            <ul class="nav nav-pills nav-stacked custom-nav">
                <li class="active"><a href="{{url('back/index')}}"><i class="fa fa-home"></i> <span>后台首页</span></a></li>
                <li class="menu-list"><a href=""><i class="fa fa-group"></i> <span>管理员</span></a>
                    <ul class="sub-menu-list">
                        <li><a href="{{url('back/admin/table')}}">管理员列表</a></li>
                    </ul>
                </li>
                <li class="menu-list"><a href=""><i class="fa fa-user"></i><span>用户</span></a>
                    <ul class="sub-menu-list">
                        <li><a href="{{ url('back/user/table') }}">用户列表</a></li>
                        <li><a href="{{ url('back/user/form') }}">添加用户</a></li>
                    </ul>
                </li>
                <li class="menu-list"><a href=""><i class="fa fa-user"></i><span>文章管理</span></a>
                    <ul class="sub-menu-list">
                        <li><a href="{{ url('back/user/table') }}">用户列表</a></li>
                        <li><a href="{{ url('back/user/form') }}">添加用户</a></li>
                    </ul>
                </li>
                <li class="menu-list"><a href=""><i class="fa fa-truck"></i> <span>商品管理</span></a>
                    <ul class="sub-menu-list">
                        <li><a href="{{ url('back/product/table') }}">商品列表</a></li>
                        <li><a href="{{ url('back/product/from') }}">添加商品</a></li>
                    </ul>
                </li>
                <li class="menu-list"><a href=""><i class="fa fa-bar-chart-o"></i> <span>分类管理</span></a>
                    <ul class="sub-menu-list">
                        <li><a href="{{ url('back/category/table') }}">分类列表</a></li>
                    </ul>
                </li>
                <li class="menu-list"><a href=""><i class="fa fa-list"></i> <span>订单管理</span></a>
                    <ul class="sub-menu-list">
                        <li><a href="#">订单列表</a></li>
                    </ul>
                </li>

                {{--<li class="menu-list"><a href=""><i class="fa fa-tasks"></i> <span>Forms</span></a>--}}
                    {{--<ul class="sub-menu-list">--}}
                        {{--<li><a href="form_layouts.html"> Form Layouts</a></li>--}}
                    {{--</ul>--}}
                {{--</li>--}}

                {{--<li class="menu-list"><a href="#"><i class="fa fa-th-list"></i> <span>Data Tables</span></a>--}}
                    {{--<ul class="sub-menu-list">--}}
                        {{--<li><a href="basic_table.html"> Basic Table</a></li>--}}
                        {{--<li><a href="dynamic_table.html"> Advanced Table</a></li>--}}
                        {{--<li><a href="responsive_table.html"> Responsive Table</a></li>--}}
                        {{--<li><a href="editable_table.html"> Edit Table</a></li>--}}
                    {{--</ul>--}}
                {{--</li>--}}

                <li class="menu-list"><a href="#"><i class="fa fa-refresh"></i><span>回收站</span></a>
                    <ul class="sub-menu-list">
                        <li><a href="{{ url('back/recycle/admins') }}">管理员</a></li>
                        <li><a href="{{ url('back/recycle/users')}}">用户</a></li>
                        <li><a href="{{ url('back/recycle/categorys')}}">分类</a></li>
                    </ul>
                </li>
                <li><a href="{{ url('back/admin/logout') }}"><i class="fa fa-sign-in"></i> <span>注销</span></a></li>

            </ul>
            <!--sidebar nav end-->

        </div>
    </div>
    <!-- left side end-->

    <!-- main content start-->
    <div class="main-content" >

    <!-- header section start-->
    <div class="header-section">

        <!--toggle button start-->
        <a class="toggle-btn"><i class="fa fa-bars"></i></a>
        <!--toggle button end-->

        <!--notification menu start -->
        <div class="menu-right">
            <ul class="notification-menu">
                <li>
                    <a href="#" class="btn btn-default dropdown-toggle info-number" data-toggle="dropdown">
                        <i class="fa fa-tasks"></i>
                        <span class="badge">8</span>
                    </a>
                    <div class="dropdown-menu dropdown-menu-head pull-right">
                        <h5 class="title">You have 8 pending task</h5>
                        <ul class="dropdown-list user-list">
                            <li class="new">
                                <a href="#">
                                    <div class="task-info">
                                        <div>Database update</div>
                                    </div>
                                    <div class="progress progress-striped">
                                        <div style="width: 40%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="40" role="progressbar" class="progress-bar progress-bar-warning">
                                            <span class="">40%</span>
                                        </div>
                                    </div>
                                </a>
                            </li>
                            <li class="new">
                                <a href="#">
                                    <div class="task-info">
                                        <div>Dashboard done</div>
                                    </div>
                                    <div class="progress progress-striped">
                                        <div style="width: 90%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="90" role="progressbar" class="progress-bar progress-bar-success">
                                            <span class="">90%</span>
                                        </div>
                                    </div>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    <div class="task-info">
                                        <div>Web Development</div>
                                    </div>
                                    <div class="progress progress-striped">
                                        <div style="width: 66%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="66" role="progressbar" class="progress-bar progress-bar-info">
                                            <span class="">66% </span>
                                        </div>
                                    </div>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    <div class="task-info">
                                        <div>Mobile App</div>
                                    </div>
                                    <div class="progress progress-striped">
                                        <div style="width: 33%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="33" role="progressbar" class="progress-bar progress-bar-danger">
                                            <span class="">33% </span>
                                        </div>
                                    </div>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    <div class="task-info">
                                        <div>Issues fixed</div>
                                    </div>
                                    <div class="progress progress-striped">
                                        <div style="width: 80%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="80" role="progressbar" class="progress-bar">
                                            <span class="">80% </span>
                                        </div>
                                    </div>
                                </a>
                            </li>
                            <li class="new"><a href="">See All Pending Task</a></li>
                        </ul>
                    </div>
                </li>
                <li>
                    <a href="#" class="btn btn-default dropdown-toggle info-number" data-toggle="dropdown">
                        <i class="fa fa-envelope-o"></i>
                        <span class="badge">5</span>
                    </a>
                    <div class="dropdown-menu dropdown-menu-head pull-right">
                        <h5 class="title">You have 5 Mails </h5>
                        <ul class="dropdown-list normal-list">
                            <li class="new">
                                <a href="">
                                    <span class="thumb"><img src="{{asset('admin/assets/images/photos/user1.png')}}" alt="" /></span>
                                    <span class="desc">
                                      <span class="name">John Doe <span class="badge badge-success">new</span></span>
                                      <span class="msg">Lorem ipsum dolor sit amet...</span>
                                    </span>
                                </a>
                            </li>
                            <li>
                                <a href="">
                                    <span class="thumb"><img src="{{asset('admin/assets/images/photos/user2.png')}}" alt="" /></span>
                                    <span class="desc">
                                      <span class="name">Jonathan Smith</span>
                                      <span class="msg">Lorem ipsum dolor sit amet...</span>
                                    </span>
                                </a>
                            </li>
                            <li>
                                <a href="">
                                    <span class="thumb"><img src="{{asset('admin/assets/images/photos/user3.png')}}" alt="" /></span>
                                    <span class="desc">
                                      <span class="name">Jane Doe</span>
                                      <span class="msg">Lorem ipsum dolor sit amet...</span>
                                    </span>
                                </a>
                            </li>
                            <li>
                                <a href="">
                                    <span class="thumb"><img src="{{asset('admin/assets/images/photos/user4.png')}}" alt="" /></span>
                                    <span class="desc">
                                      <span class="name">Mark Henry</span>
                                      <span class="msg">Lorem ipsum dolor sit amet...</span>
                                    </span>
                                </a>
                            </li>
                            <li>
                                <a href="">
                                    <span class="thumb"><img src="{{asset('admin/assets/images/photos/user5.png')}}" alt="" /></span>
                                    <span class="desc">
                                      <span class="name">Jim Doe</span>
                                      <span class="msg">Lorem ipsum dolor sit amet...</span>
                                    </span>
                                </a>
                            </li>
                            <li class="new"><a href="">Read All Mails</a></li>
                        </ul>
                    </div>
                </li>
                <li>
                    <a href="#" class="btn btn-default dropdown-toggle info-number" data-toggle="dropdown">
                        <i class="fa fa-bell-o"></i>
                        <span class="badge">4</span>
                    </a>
                    <div class="dropdown-menu dropdown-menu-head pull-right">
                        <h5 class="title">Notifications</h5>
                        <ul class="dropdown-list normal-list">
                            <li class="new">
                                <a href="">
                                    <span class="label label-danger"><i class="fa fa-bolt"></i></span>
                                    <span class="name">Server #1 overloaded.  </span>
                                    <em class="small">34 mins</em>
                                </a>
                            </li>
                            <li class="new">
                                <a href="">
                                    <span class="label label-danger"><i class="fa fa-bolt"></i></span>
                                    <span class="name">Server #3 overloaded.  </span>
                                    <em class="small">1 hrs</em>
                                </a>
                            </li>
                            <li class="new">
                                <a href="">
                                    <span class="label label-danger"><i class="fa fa-bolt"></i></span>
                                    <span class="name">Server #5 overloaded.  </span>
                                    <em class="small">4 hrs</em>
                                </a>
                            </li>
                            <li class="new">
                                <a href="">
                                    <span class="label label-danger"><i class="fa fa-bolt"></i></span>
                                    <span class="name">Server #31 overloaded.  </span>
                                    <em class="small">4 hrs</em>
                                </a>
                            </li>
                            <li class="new"><a href="">See All Notifications</a></li>
                        </ul>
                    </div>
                </li>
                <li>
                    <a href="#" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                        <img src="{{asset('admin/assets/images/photos/user-avatar.png')}}" alt="" />
                        John Doe
                        <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu dropdown-menu-usermenu pull-right">
                        <li><a href="#"><i class="fa fa-user"></i>用户信息</a></li>
                        <li><a href="#"><i class="fa fa-cog"></i>设置</a></li>
                        <li><a href="{{ url('back/admin/logout') }}"><i class="fa fa-sign-out"></i>注销</a></li>
                    </ul>
                </li>

            </ul>
        </div>
        <!--notification menu end -->
    </div>
    <!-- header section end-->
    <!-- page heading start-->
        @yield('content')
    <!-- main content end-->
</div></section>
<!-- Placed js at the end of the document so the pages load faster -->
<script src="{{asset('admin/assets/js/jquery-1.10.2.min.js')}}"></script>
<script src="{{asset('admin/assets/js/jquery-ui-1.9.2.custom.min.js')}}"></script>
<script src="{{asset('admin/assets/js/jquery-migrate-1.2.1.min.js')}}"></script>
<script src="{{asset('admin/assets/js/bootstrap.min.js')}}"></script>
<script src="{{asset('admin/assets/js/modernizr.min.js')}}"></script>
<script src="{{asset('admin/assets/js/jquery.nicescroll.js')}}"></script>

<!--easy pie chart-->
<script src="{{asset('admin/assets/js/easypiechart/jquery.easypiechart.js')}}"></script>
<script src="{{asset('admin/assets/js/easypiechart/easypiechart-init.js')}}"></script>

<!--Sparkline Chart-->
<script src="{{asset('admin/assets/js/sparkline/jquery.sparkline.js')}}"></script>
<script src="{{asset('admin/assets/js/sparkline/sparkline-init.js')}}"></script>

<!--icheck -->
<script src="{{asset('admin/assets/js/iCheck/jquery.icheck.js')}}"></script>
<script src="{{asset('admin/assets/js/icheck-init.js')}}"></script>

<!-- jQuery Flot Chart-->
<script src="{{asset('admin/assets/js/flot-chart/jquery.flot.js')}}"></script>
<script src="{{asset('admin/assets/js/flot-chart/jquery.flot.tooltip.js')}}"></script>
<script src="{{asset('admin/assets/js/flot-chart/jquery.flot.resize.js')}}"></script>


<!--Morris Chart-->
<script src="{{asset('admin/assets/js/morris-chart/morris.js')}}"></script>
<script src="{{asset('admin/assets/js/morris-chart/raphael-min.js')}}"></script>

<!--Calendar-->
<script src="{{asset('admin/assets/js/calendar/clndr.js')}}"></script>
<script src="{{asset('admin/assets/js/calendar/evnt.calendar.init.js')}}"></script>
<script src="{{asset('admin/assets/js/calendar/moment-2.2.1.js')}}"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js"></script>

<!--common scripts for all pages-->
<script src="{{asset('admin/assets/js/scripts.js')}}"></script>

<!--Dashboard Charts-->
<script src="{{asset('admin/assets/js/dashboard-chart-init.js')}}"></script>

@yield('js')

</body>
</html>
